package com.crpc.common.crpcEnum;

import lombok.Getter;

@Getter
public enum RegistryEnums {
    ZOOKEEPER((byte) 1, "zookeeper"),
    NACOS((byte) 2, "nacos");
    private final byte code;
    private final String type;

    RegistryEnums(byte code, String type) {
        this.type = type;
        this.code = code;
    }
}
